package com.arpa.oms.domain.entity;

import com.arpa.wms.domain.entity.BasicEntity;
import java.time.LocalDateTime;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 自动审核规则
 * </p>
 *
 * @author spb
 * @since 2021-07-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="OmsAutoCheck对象", description="自动审核规则")
public class OmsAutoCheck extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自动审核编码")
    private String code;

    @ApiModelProperty(value = "规则名称")
    private String name;

    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;

    @ApiModelProperty(value = "入驻商名称")
    private String shipmentName;

    @ApiModelProperty(value = "店铺编码")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "生效开始日期")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "生效结束日期")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "订单是否有备注，默认：0，0-有无备注审批，1-无备注才能审核")
    private String hasRemark;

    @ApiModelProperty(value = "是否全部商品：0-指定商品，1-全部商品")
    private String allGoods;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态，0-启用，1-停用")
    private String status;

    @ApiModelProperty(value = "商品列表")
    @TableField(exist = false)
    private List<OmsAutoCheckGoods> checkGoodsList;

    @ApiModelProperty(value = "商品code")
    @TableField(exist = false)
    private List<String> goodsCode;

}
